package org.tigris.atlas.xml.schema.mda.element;

/**
 * Defines the contract for namespaced elements
 */
public interface NamespaceAware {

	/**
	 * Returns the schema type for this entity
	 */
	public String getSchemaType();
	
	/**
	 * Return namespace name of this instance (ie, the 'xs' part of 'xmlns:xs')
	 */
	public String getNamespaceName();
	
	/**
	 * Returns relative location of the namespace
	 */
	public String getNamespaceLocation();	
	
	/**
	 * Returns relative location of the namespace
	 */
	public String getBase();		
	
	/**
	 * Returns relative location of the namespace
	 */
	public String getProject();		
	
}
